package com.carkeeper.service;

import com.carkeeper.dto.OrderLogDTO;
import com.carkeeper.service.serviceFallback.OrderFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "carkeeper-order",fallback = OrderFallbackFactory.class)
public interface OrderLogFeign {
    /*
     * 获取订单日志详情
     * */
    @GetMapping("/orderLog/{id}")
    public OrderLogDTO getOrderLog(@PathVariable("id") Long id);

}
